package com.xushi.bean;

import com.xushi.bean.ActivityWrapperBean;
import com.xushi.model.Template;
import com.xushi.model.UserTemplate;

import java.sql.Timestamp;

public class MixedStateBean {

    private Integer id;

    private String username;

    private Template template;

    private String title;

    private Integer playCount;

    private String description;

    private String description2;

    private String weixinQrCodePath;

    private String state;

    private Timestamp startTime;

    private Timestamp endTime;

    private ActivityWrapperBean activityWrapper;

    public MixedStateBean(UserTemplate userTemplate, ActivityWrapperBean activityWrapperBean) {
        this.id = userTemplate.getId();
        this.username = userTemplate.getUsername();
        this.template = userTemplate.getTemplate();
        this.title = userTemplate.getTitle();
        this.playCount = userTemplate.getPlayCount();
        this.description = userTemplate.getDescription();
        this.description2 = userTemplate.getDescription2();
        this.weixinQrCodePath = userTemplate.getWeixinQrCodePath();
        this.state = userTemplate.getState();
        this.startTime = userTemplate.getStartTime();
        this.endTime = userTemplate.getEndTime();
        this.activityWrapper = activityWrapperBean;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Template getTemplate() {
        return template;
    }

    public void setTemplate(Template template) {
        this.template = template;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription2() {
        return description2;
    }

    public void setDescription2(String description2) {
        this.description2 = description2;
    }

    public String getWeixinQrCodePath() {
        return weixinQrCodePath;
    }

    public void setWeixinQrCodePath(String weixinQrCodePath) {
        this.weixinQrCodePath = weixinQrCodePath;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Timestamp getStartTime() {
        return startTime;
    }

    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public ActivityWrapperBean getActivityWrapper() {
        return activityWrapper;
    }

    public void setActivityWrapper(ActivityWrapperBean activityWrapper) {
        this.activityWrapper = activityWrapper;
    }
}
